﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.WMSPlatform.Service.InboundOrderDetail.DTO
{
    public class ReceivingBillOrderMaterialsDto
    {
        public int Id { get; set; }

        /// <summary>
        /// 委托单号
        /// </summary>
        public string? OrderNo { get; set; }

        /// <summary>
        /// 所属仓库id
        /// </summary>
        //public int StoreId { get; set; }

        /// <summary>
        /// 托盘
        /// </summary>
        public string PalletBarcode { get; set; }

        /// <summary>
        /// 仓位Id 仓位编号
        /// </summary>
        public string StoreLocationId { get; set; }

        public List<ReceivingBillOrderMaterialsDetailDto> ReceivingBillOrderMaterialsDetailDto { get; set; }

        public int? NowUserId { get; set; } = 0;

        public string? NowUserRealName { get; set; }
    }

    public class ReceivingBillOrderMaterialsDetailDto
    {
        /// <summary>
        /// 收货明细ID
        /// </summary>
        public int ReceivingBillDetailId { get; set; }
        /// <summary>
        /// 收获数量
        /// </summary>
        public decimal ReceivedQty { get; set; }

        //public int? OwerId { get; set; }

        public int? MaterialId { get; set; }

        public string? MaterialName { get; set; }

        public string MaterialCode { get; set; }

        public string? MaterialBatchNo { get; set; }

        //public string? DeptName { get; set; }
        /// <summary>
        /// 物资明细id
        /// </summary>
        //public int? CheckInfoId { get; set; }

        ///// <summary>
        ///// 仓位名称
        ///// </summary>
        //public string? Cellremark { get; set; }

        ///// <summary>
        ///// 仓位id
        ///// </summary>
        //public int? StoreLocationId { get; set; }



        ///// <summary>
        ///// 生产日期
        ///// </summary>
        //public DateTime? ProductDate { get; set; }

        ///// <summary>
        ///// 批次号说明
        ///// </summary>
        //public string? BatchNoExplain { get; set; }
        ///// <summary>
        ///// 出厂日期
        ///// </summary>
        //public DateTime? OutFactoryDate { get; set; }
        ///// <summary>
        ///// 生产厂家
        ///// </summary>
        //public string? ProduceFactory { get; set; }

        ///// <summary>
        ///// 有效期
        ///// </summary>
        //public DateTime? ExpireDate { get; set; }

        ///// <summary>
        ///// 备注
        ///// </summary>
        //public string? Remark { get; set; }
    }
}
